package com.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("仓库库区新增参数")
public class WarehouseAddDTO {

    @ApiModelProperty(value = "名称", required = true)
    private String kuname;        // 对应s_warehouse.name

    @ApiModelProperty(value = "备注")
    private String beizhu;      // 对应s_warehouse.beizhu

    @ApiModelProperty(value = "仓库名", required = true)
    private Integer ckName;   // 用于查询s_store的name，获取ckid

    @ApiModelProperty(value = "温区名", required = true)
    private Integer warmAreaName;// 用于查询s_store_area的warmArea，获取wareid

    @ApiModelProperty(value = "创建人ID", hidden = true)
    private Integer createBy;   // 可从登录上下文获取，前端无需传递
}
